Measurement of oxygen saturation